package com.tianjin.design.mediator;

public class BbbWorker extends Worker {

    public BbbWorker(Mediator mediator) {
        super(mediator);
    }

    /**
     * @Description: 设计人员通过中介者往外发出信息
     */
    public void send(String message) {
        mediator.send(message, this);
    }

    /**
     * @Description: 设计人员收到反馈信息
     */
    public void receiver(String message) {
        System.out.println("设计人员收到信息：" + message);
    }

}
